package com.topboya.linker.model.levelitem;

import com.topboya.linker.model.response.DeptUserResponse;

import java.util.List;

public class DepartmentGroup  {

    private String deparemtname;
    private boolean isSub;
//    记录数据在哪一层
    private int layer;
    private boolean isIschecked;

   private  List<List<DeptUserResponse.DeptUserList>> deptUserListss;
   private List<List<DeptUserResponse.SubDeptList>> subDeptListss;
//   父类部门
   private  DepartmentGroup departmentGrouParent;

    public String getDeparemtname() {
        return deparemtname;
    }

    public void setDeparemtname(String deparemtname) {
        this.deparemtname = deparemtname;
    }

    public boolean isSub() {
        return isSub;
    }

    public void setSub(boolean sub) {
        isSub = sub;
    }

    public int getLayer() {
        return layer;
    }

    public void setLayer(int layer) {
        this.layer = layer;
    }

    public List<List<DeptUserResponse.DeptUserList>> getDeptUserListss() {
        return deptUserListss;
    }

    public void setDeptUserListss(List<List<DeptUserResponse.DeptUserList>> deptUserListss) {
        this.deptUserListss = deptUserListss;
    }

    public List<List<DeptUserResponse.SubDeptList>> getSubDeptListss() {
        return subDeptListss;
    }

    public void setSubDeptListss(List<List<DeptUserResponse.SubDeptList>> subDeptListss) {
        this.subDeptListss = subDeptListss;
    }

    public boolean isIschecked() {
        return isIschecked;
    }

    public void setIschecked(boolean ischecked) {
        isIschecked = ischecked;
    }

    @Override
    public String toString() {
        return "DepartmentGroup{" +
                "deparemtname='" + deparemtname + '\'' +
                ", isSub=" + isSub +
                '}';
    }
}
